﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Server
{
    class AttendenceCheck
    {
        private static StreamWriter sw = null;

        public static void WriteFile(string path, string data)
        {
            try
            {
                sw = new StreamWriter(path);
                sw.WriteLine(data);
                sw.Flush();
                sw.Close();
                sw.Dispose();
            }
            catch 
            {}
        }
    }
}
